net/http.wantConn.key (field)
13 uses
net/http (current package)
transport.go#L1200: if list, ok := t.idleConn[w.key]; ok {
transport.go#L1240: t.idleConn[w.key] = list
transport.go#L1242: delete(t.idleConn, w.key)
transport.go#L1253: q := t.idleConnWait[w.key]
transport.go#L1256: t.idleConnWait[w.key] = q
transport.go#L1331: key connectMethodKey // cm.key()
transport.go#L1533: key: cm.key(),
transport.go#L1605: if n := t.connsPerHost[w.key]; n < t.MaxConnsPerHost {
transport.go#L1609: t.connsPerHost[w.key] = n + 1
transport.go#L1617: q := t.connsPerHostWait[w.key]
transport.go#L1620: t.connsPerHostWait[w.key] = q
transport.go#L1643: t.decConnsPerHost(w.key)
transport.go#L1657: t.decConnsPerHost(w.key)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |